package com.wwj.core.wawa.service;

import com.github.pagehelper.Page;
import com.wwj.core.wawa.entity.WaWaType;
import com.wwj.framework.utils.ReturnData;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2017/11/3.
 */
public interface IWaWaTypeService {
    WaWaType findById(Integer id);

    List<WaWaType> findAll();

    Page<WaWaType> findByPage(Map<String, Object> params, int offset, int limit);

    void update(WaWaType waWaType);

    void add(WaWaType waWaType);

    ReturnData deleteById(Integer id);
}
